+++ /dev/null
-From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
-Date: Sat, 25 Jun 2022 21:22:20 +0200
-Subject: Ignore errors during lconvert
-
-Starting with qt5 5.15.4 lconvert errors with
-
-QM-Format error
-
-for some calls and thus thus fails the build.
----
- gui/package_app | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gui/package_app b/gui/package_app
-index 01c00eb..f7829f6 100755
---- a/gui/package_app
-+++ b/gui/package_app
-@@ -50,7 +50,7 @@ function convert_qt_translations()
- inputs+=("qtbase_${language}.qm")
- if [ -e "qtdeclarative_${language}.qm" ]; then inputs+=("qtdeclarative_${language}.qm"); fi
- if [ -e "qtserialport_${language}.qm" ]; then inputs+=("qtserialport_${language}.qm"); fi
-- "${LCONVERT}" -o "${LANGDIR}/qt_${language}.qm" "${inputs[@]}"
-+ "${LCONVERT}" -o "${LANGDIR}/qt_${language}.qm" "${inputs[@]}" || true
-
- if [ "${machine}" = "Mac" ]; then
- # Create locversion.plist in the bundle to trigger translations for
--- a/gui/babeldata.h
+++ b/gui/babeldata.h
-@@ -67,7 +67,7 @@ public:
- reportStatistics_(false),
- allowBetaUpgrades_(false),
- ignoreVersionMismatch_(true),
-- disableDonateDialog_(false),
-+ disableDonateDialog_(true),
- donateSplashed_(QDateTime(QDate(2010, 1, 1), QTime(0, 0, 0)))
- {
- }
+@@ -154,7 +154,7 @@ public:
+ bool reportStatistics_{false};
+ bool allowBetaUpgrades_{false};
+ bool ignoreVersionMismatch_{true};
+- bool disableDonateDialog_{false};
++ bool disableDonateDialog_{true};
+ QDateTime donateSplashed_;
+ };
+ #endif
</widget>
--- a/gui/preferences.cc
+++ b/gui/preferences.cc
-@@ -42,7 +42,6 @@ Preferences::Preferences(QWidget* parent, QList<Format>& formatList,
+@@ -49,7 +49,6 @@ Preferences::Preferences(QWidget* parent, QList<Format>& formatList,
ui_.startupCheck->setChecked(babelData_.startupVersionCheck_);
ui_.reportStatisticsCheck->setChecked(babelData_.reportStatistics_);
connect(ui_.buttonBox, &QDialogButtonBox::accepted, this, &Preferences::acceptClicked);
connect(ui_.buttonBox, &QDialogButtonBox::rejected, this, &Preferences::rejectClicked);
-@@ -82,7 +81,6 @@ void Preferences::acceptClicked()
+@@ -89,7 +88,6 @@ void Preferences::acceptClicked()
babelData_.startupVersionCheck_ = ui_.startupCheck->isChecked();
babelData_.reportStatistics_ = ui_.reportStatisticsCheck->isChecked();
--- a/gui/babeldata.h
+++ b/gui/babeldata.h
-@@ -66,7 +66,7 @@ public:
- startupVersionCheck_(true),
- reportStatistics_(true),
- allowBetaUpgrades_(false),
-- ignoreVersionMismatch_(false),
-+ ignoreVersionMismatch_(true),
- disableDonateDialog_(false),
- donateSplashed_(QDateTime(QDate(2010, 1, 1), QTime(0, 0, 0)))
- {
+@@ -153,7 +153,7 @@ public:
+ bool startupVersionCheck_{true};
+ bool reportStatistics_{true};
+ bool allowBetaUpgrades_{false};
+- bool ignoreVersionMismatch_{false};
++ bool ignoreVersionMismatch_{true};
+ bool disableDonateDialog_{false};
+ QDateTime donateSplashed_;
+ };
<property name="text">
--- a/gui/preferences.cc
+++ b/gui/preferences.cc
-@@ -40,7 +40,6 @@ Preferences::Preferences(QWidget* parent, QList<Format>& formatList,
+@@ -47,7 +47,6 @@ Preferences::Preferences(QWidget* parent, QList<Format>& formatList,
{
ui_.setupUi(this);
ui_.reportStatisticsCheck->setChecked(babelData_.reportStatistics_);
connect(ui_.buttonBox, &QDialogButtonBox::accepted, this, &Preferences::acceptClicked);
-@@ -79,7 +78,6 @@ void Preferences::acceptClicked()
+@@ -86,7 +85,6 @@ void Preferences::acceptClicked()
formatList_[i].setHidden(item->checkState() == Qt::Unchecked);
}
}
--- a/gui/babeldata.h
+++ b/gui/babeldata.h
-@@ -63,7 +63,7 @@ public:
- upgradeErrors_(0),
- upgradeOffers_(0),
- runCount_(0),
-- startupVersionCheck_(true),
-+ startupVersionCheck_(false),
- reportStatistics_(false),
- allowBetaUpgrades_(false),
- ignoreVersionMismatch_(true),
+@@ -150,7 +150,7 @@ public:
+ int runCount_{0};
+
+ // Global preferences.
+- bool startupVersionCheck_{true};
++ bool startupVersionCheck_{false};
+ bool reportStatistics_{false};
+ bool allowBetaUpgrades_{false};
+ bool ignoreVersionMismatch_{true};
--- a/gui/mainwinui.ui
+++ b/gui/mainwinui.ui
@@ -691,7 +691,6 @@
<string>Visit Website...</string>
--- a/gui/mainwindow.cc
+++ b/gui/mainwindow.cc
-@@ -175,7 +175,6 @@ MainWindow::MainWindow(QWidget* parent): QMainWindow(parent)
+@@ -170,7 +170,6 @@ MainWindow::MainWindow(QWidget* parent): QMainWindow(parent)
connect(ui_.actionAbout, &QAction::triggered, this, &MainWindow::aboutActionX);
connect(ui_.actionVisit_Website, &QAction::triggered, this, &MainWindow::visitWebsiteActionX);
connect(ui_.actionMake_a_Donation, &QAction::triggered, this, &MainWindow::donateActionX);
- connect(ui_.actionUpgradeCheck, &QAction::triggered, this, &MainWindow::upgradeCheckActionX);
connect(ui_.actionPreferences, &QAction::triggered, this, &MainWindow::preferencesActionX);
- // TODO: Qt6 deleted the obsolete overloaded signal QComboBox::currentIndexChanged(const QString &text)
-@@ -232,17 +231,6 @@ MainWindow::MainWindow(QWidget* parent): QMainWindow(parent)
+ connect(ui_.inputFormatCombo, &QComboBox::currentIndexChanged,
+@@ -223,17 +222,6 @@ MainWindow::MainWindow(QWidget* parent): QMainWindow(parent)
restoreSettings();
upgrade = new UpgradeCheck(this, formatList_, babelData_);
- }
}
- //------------------------------------------------------------------------
-@@ -1010,10 +998,6 @@ void MainWindow::applyActionX()
+ void MainWindow::switchTranslator(QTranslator& translator, const QString& filename)
+@@ -1000,10 +988,6 @@ void MainWindow::applyActionX()
//------------------------------------------------------------------------
void MainWindow::closeActionX()
{
Make statistics reporting an opt-in option.
--- a/gui/babeldata.h
+++ b/gui/babeldata.h
-@@ -64,7 +64,7 @@ public:
- upgradeOffers_(0),
- runCount_(0),
- startupVersionCheck_(true),
-- reportStatistics_(true),
-+ reportStatistics_(false),
- allowBetaUpgrades_(false),
- ignoreVersionMismatch_(true),
- disableDonateDialog_(false),
+@@ -151,7 +151,7 @@ public:
+
+ // Global preferences.
+ bool startupVersionCheck_{true};
+- bool reportStatistics_{true};
++ bool reportStatistics_{false};
+ bool allowBetaUpgrades_{false};
+ bool ignoreVersionMismatch_{true};
+ bool disableDonateDialog_{false};
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -475,8 +475,6 @@ if(UNIX AND NOT APPLE)
+@@ -484,8 +484,6 @@ if(UNIX AND NOT APPLE)
USES_TERMINAL)
endif()
set(GPSBABEL_WEB "gpsbabel.org" CACHE PATH "Path where the documentation will be stored for www.gpsbabel.org.")
add_custom_target(gpsbabel.org
${CMAKE_SOURCE_DIR}/tools/make_gpsbabel_org.sh ${GPSBABEL_WEB} ${GPSBABEL_DOCVERSION}
-@@ -495,6 +493,3 @@ if((CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR) AND NOT _isMultiConfig)
+@@ -504,6 +502,3 @@ if((CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR) AND NOT _isMultiConfig)
DEPENDS gpsbabel
VERBATIM
USES_TERMINAL)
htmldoc-location
Disable-donation-nagging
0007-Add-workaround-for-failing-test-on-i386.patch
-0009-Ignore-errors-during-lconvert.patch
0008-Ignore-test-failures-due-to-CPU-differences.patch